package com.guguskins.back.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.guguskins.back.entity.GuRecord;
import com.guguskins.back.entity.vo.PageVo;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author mybatis-plus
 * @since 2021-05-24
 */
public interface GuRecordService extends IService<GuRecord> {

//    void addRecord(User user, );

    void addRecord(long userId, int recordType, int sourceType, long sourceId, int itemType, long itemId, String recordDesc, String recordRemark);
    PageVo<GuRecord> findByPage(Integer pageNum,Integer pageSize,String userName, Integer sourceType, String createTime);
}
